package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import sh.wn36.vehiclemanage.entity.AccidentRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.entity.dto.AccidentQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface AccidentRecordService extends IService<AccidentRecord> {
    List<Map<String,Object>> selectAccidentRecordMap(Page<Map<String, Object>> page, Wrapper wrapper
    );
    List<Map<String, Object>> reportList();


    List<Map<String, Object>> queryReportByCarId(Integer carId);
}
